package com.bookmall.member.feign;

import com.bookmall.member.domain.vo.PersonParamVo;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.ruoyi.common.core.web.page.TableDataInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;

/**
 * @Description:
 * @Author 胡菜鸡
 * @Create 2022-04-27-15:44
 */
@FeignClient("bookmall-cart")
public interface OrderFeignService {
    @PostMapping("/order/info/orders/{memberId}")
    public AjaxResult getOrders(@PathVariable("memberId") String memberId, @RequestBody PersonParamVo personParamVo);
}
